<script setup lang="ts">
const props = defineProps({
  icon: {
    type: String,
    default: '',
  },
  size: {
    type: String,
    default: '24rpx',
  },
  color: {
    type: String,
    default: '#000',
  },
})
const { icon, size, color } = props
</script>

<template>
  <view class="icon-font">
    <view class="iconfont" :class="[icon]" :style="{ fontSize: size, color }" />
  </view>
</template>

<style lang="scss" scoped>
</style>
